<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <link rel="stylesheet" href="../../css/common.css" >

</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">


        <div class="ui_box">
            <div class="ui_tit">开票记录</div>
            <div style="margin-bottom: 25px;">

                <table class="layui-table" lay-size="lg" style=" text-align: center;">
                    <thead>
                    <tr>
                        <td colspan="6" id="gs"><b>北京中和税银科技有限公司</b></td>
                    </tr>
                    <tr>
                        <td style="background-color:#f8f8f8">充值总额</td>
                        <td style="background-color:#fff" id="Total"></td>
                        <td style="background-color:#f8f8f8">已开票</td>
                        <td style="background-color:#fff" id="ykp"></td>
                        <td style="background-color:#f8f8f8">剩余可开票</td>
                        <td style="background-color:#fff"id="sykp"></td>
                    </tr>
                    </thead>
                </table>

            </div>

            <div class="shaixuan">
                <ul class="shaixuan_ul">
                    <li class="shaixuan_li">
                        <div class="shaixuan_title">发票状态：</div>
                        <div class="shaixuan_btn_list ml42px">
                            <a href="javascript:;" class="type  cur" data-state="all">全部</a>
                            <a href="javascript:;" class="type " data-state="y">已提交</a>

                            <a href="javascript:;" class="type " data-state="d">已完成</a>
                        </div>
                    </li>
                </ul>
            </div> <!-- shaixuan --->

            <table class="layui-hide" id="invoiceTable" lay-filter="invoiceTableFilter"></table>

            <script type="text/html" id="sjrBox">
                <p>{{d.rPersonName}}</p>
                <p>{{d.mobile}}</p>
                <p>{{d.address}}</p>
            </script>

            <script type="text/html" id="staBar">
                {{#  if(d.status == '0'){ }}
                <span style="color: #1aa094">已提交</span>
                {{#  }else if(d.status == '1'){ }}
                <span style="color: #3aadff">已完成</span>
                {{#  }else if(d.status == '2'){ }}
                <span style="color:red">驳回</span>
                {{#  } }}
            </script>
            
            <script type="text/html" id="billType">
                {{#  if(d.billTypeId == '0'){ }}
                <span style="color: #1aa094">专票</span>
                {{#  }else if(d.billTypeId == '1'){ }}
                <span style="color: #3aadff">普票</span>
                {{#  } }}
            </script>

        </div>

    </div>
</div>
<script src="../../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
<script src="../../js/invoice/list.js"></script>

</body>
</html>